// 菜单路由
const express = require('express')
const router = express.Router()
const menuController = require('../../controllers/system/menu')

// 获取菜单列表
router.get('/list', menuController.getMenuList)

// 新增菜单
router.post('/add', menuController.createMenu)

// 更新菜单
router.put('/update', menuController.updateMenu)

// 删除菜单
router.delete('/delete', menuController.deleteMenu)

module.exports = router